package com.demo.test.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author XieHuan
 * @since 2017-06-15
 */
public class Winner extends Model<Winner> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
	private Integer id;
    /**
     * 对战id
     */
	private String battleid;
    /**
     * 获胜者id
     */
	private String winnerid;
    /**
     * 获胜者票数
     */
	private String winnerpiao;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBattleid() {
		return battleid;
	}

	public void setBattleid(String battleid) {
		this.battleid = battleid;
	}

	public String getWinnerid() {
		return winnerid;
	}

	public void setWinnerid(String winnerid) {
		this.winnerid = winnerid;
	}

	public String getWinnerpiao() {
		return winnerpiao;
	}

	public void setWinnerpiao(String winnerpiao) {
		this.winnerpiao = winnerpiao;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
